package com.holyn.guofang.presenter.login;


import com.holyn.guofang.model.webhttp.wo.StatusWo;
import com.holyn.guofang.model.webhttp.wo.UserInfoWo;
import com.holyn.guofang.presenter.AbstractBasePresenterImp;
import com.holyn.guofang.presenter.BaseView;

/**
 * Created by Holyn on 2017/6/9.
 */

public class RegisterContract {
    public static abstract class Presenter extends AbstractBasePresenterImp {
        public Presenter(BaseView baseView) {
            super(baseView);
        }

        public abstract void  addViewListener(RegisterContract.View view);

        public  abstract void postRegister(String userName, String password, Integer checkMethod, String mobile, String email,
                                           String name, String validCode, Integer isInstitution, final int requestAction);

        public  abstract void postRegisterB(Integer regType, String mainMobile, String mobile, String validCode, Integer isInstitution, final int requestAction);

        public  abstract void postRegisterCode(String userName, Integer checkMethod, String equipmentCode,final int requestAction);
        public  abstract void postRegisterCodeB(String userName, String equipmentCode,final int requestAction);
    }

    public interface View {
        void responseSuccess(Integer requestAction, StatusWo statusWo);
    }
}
